package com.example.task.service.impl;

import com.example.task.service.TestService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class TestServiceImpl implements TestService {
    
    @Override
    public void test1() {
        log.info("================测试方法1开始执行===================");
        try {
            Thread.sleep(5000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        log.info("================测试方法1结束执行===================");
    }
}
